<template>
  <div class="tt_more" @click="goCategory">
      <div class="title">{{title}}</div>
        <div class="more">
            <span class="tm">更多</span><van-icon name="arrow" />
        </div>
  </div>
</template>

<script>
export default {
    props:{
        title:{
            type:String
        },
        url:{
            type:String
        }
    },
    methods:{
        goCategory(){
            this.$router.push(`${this.url}`)
        }
    }
}
</script>

<style lang="scss" scoped>
.tt_more{
    height: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .title{
        font-size: 18px;
        font-weight: 700;
        color: #333;
    }
    .more{
        color: #727278;
        font-size: 12px;
        height: 17px;
        line-height: 17px;
        font-weight: 700;
        i{
            font-weight: bold;
            margin-left: 8px;
        }
       
    }
}
</style>

